#pragma once
#include <vector>
#include <memory>

class CSocks5Thread;
class CSocks5App
{
public:
    CSocks5App();
    ~CSocks5App();

    void socket_accepted(int fd_accept);

    void stop();

    void check();

    bool load_config();

private:
    std::vector<std::shared_ptr<CSocks5Thread> > allThreads_;
};
